package cn.gson.crmdemo.model.service;


import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONArray;

import cn.gson.crmdemo.model.mapper.CaiWuBaoBiaoMapper;
import cn.gson.crmdemo.model.pojo.Getmoneyrecord;

@Service
@Transactional(rollbackFor=Exception.class)

public class CaiWuBaoBiaoService {

	@Autowired
	CaiWuBaoBiaoMapper cw;
	
	public JSONArray selectAlltt() {
		return cw.selectcaiwu();
	}
	

	public JSONArray selectoption() {
		return cw.selectoption();
	}
}